package com.hula.onion.book.server.spider.platforms.daokoudai;

import org.springframework.stereotype.Component;

/**
 * Description:
 * Create Date:2018/1/18 14:18
 *
 * @author shan
 * @version 1.0
 */
@Component
public class DaoKouDaiResponseEntity<T> {

    /**
     * 错误信息
     */
    private String err;

    /**
     * 是否成功标识
     */
    private Boolean result;

    /**
     * 成功时存储的数据
     */
    private T url;

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public T getUrl() {
        return url;
    }

    public void setUrl(T url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "DaoKouDaiResponseEntity{" +
                "err='" + err + '\'' +
                ", result=" + result +
                ", url=" + url +
                '}';
    }
}